package Domain;
//订单商品连接表
public class t_orders_product_relation {
    private int id;
    private int orderid;//订单id
    private int product;//商品id
    private double price;//商品单价
    private int pnummber;//商品数量

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getProduct() {
        return product;
    }

    public void setProduct(int product) {
        this.product = product;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getPnummber() {
        return pnummber;
    }

    public void setPnummber(int pnummber) {
        this.pnummber = pnummber;
    }

    @Override
    public String toString() {
        return "t_orders_product_relation{" +
                "id=" + id +
                ", orderid=" + orderid +
                ", product=" + product +
                ", price=" + price +
                ", pnummber=" + pnummber +
                '}';
    }
}
